home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / rwwarn11.zip / PCBTEST.BAT < prev    next >
DOS Batch File  |  1992-03-24  |  680b  |  23 lines

  1. @echo off
  2. if exist pcbpass.txt del pcbpass.txt
  3. if exist pcbfail.txt del pcbfail.txt
  4.  
  5. testfile %1 gif zip
  6. if errorlevel = = 98 goto end
  7. if errorlevel = = 2 goto zip
  8. if errorlevel = = 1 goto gif
  9.  
  10. :zip
  11. rem ExzTest %1 %2 /SN                   <- No longer used
  12. IF %2 == UPLOAD PCBDESC %1 %3           <- Check for File_ID.DIZ
  13. if errorlevel == 5 goto end
  14. h:\util\rwwarn %3                       <- Here's were I call RWWARN
  15. goto end                                    Be SURE to add the %3
  16.  
  17. :gif
  18. rem FWKCS %1 %2 %3 /t20a5[cdef]
  19. copy h:\pcb\updesc.gif pcbfail.txt >nul  <- Don't ask! |-)
  20. goto end
  21.  
  22. :end                                     <- Wow! That was fast..
  23.